package cn.mes.module.mes.controller.admin.basetimeperiod.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 时间段配置信息新增/修改 Request VO")
@Data
public class BaseTimePeriodSaveReqVO {

    @Schema(description = "时间段ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10364")
    private String id;

    @Schema(description = "班别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "班别不能为空")
    private String shift;

    @Schema(description = "显示标签", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "显示标签不能为空")
    private String label;

    @Schema(description = "时间点", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "时间点不能为空")
    private Integer time;

    @Schema(description = "开始时间点", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "开始时间点不能为空")
    private String startTime;

    @Schema(description = "开始时间点值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "开始时间点值不能为空")
    private String startTimeValue;

    @Schema(description = "结束时间点", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "结束时间点不能为空")
    private String endTime;

    @Schema(description = "结束时间点值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "结束时间点值不能为空")
    private String endTimeValue;

    @Schema(description = "显示顺序")
    private Integer orderNo;

}